package com.menhai.personmanagement.controller;

import com.menhai.personmanagement.services.SystypeService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/systype")
public class SystypeController {
    @Autowired
    private SystypeService ss;

    @GetMapping("/settingsys")
    public Object settingsys(@Param("systype") int systype){
        return ss.settingsys(systype);
    }
}
